//
//  XMGTitleButton.m
//  BuDeJie
//
//  Created by 陈恒均 on 2018/1/26.
//  Copyright © 2018年 小码哥. All rights reserved.
//

#import "XMGTitleButton.h"

@implementation XMGTitleButton


-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        self.titleLabel.font = [UIFont systemFontOfSize:16];
        [self setTitleColor:[UIColor darkGrayColor] forState:UIControlStateNormal];
        [self setTitleColor:[UIColor redColor] forState:UIControlStateSelected];
    }
    return self;
}
-(void)setHighlighted:(BOOL)highlighted
{

}

@end
